home *** CD-ROM | disk | FTP | other *** search
Makefile | 2002-04-06 | 2.5 KB | 94 lines |
- VPATH = base/ sfnt/ smooth/ truetype/ raster/
- FT2_INCLUDE = ft2_include/
- CF = -c -O2 -msmall-code -m68020 -I$(FT2_INCLUDE)
- DISTRDIR = RAM:Prometheus
- AUTODOC = /c/autodoc
- FD2INLINE = /bin/fd2inline
- FD2PRAGMA = /c/fd2pragma
-
- all: library doc sfd clib gccinline proto libraries pragma pragmas lvo vbccinline examples
-
- lib: header.o lib.o ftbase.o sfnt.o smooth.o raster.o truetype.o ftinit.o ftsystem.o
- gcc -s -nostartfiles -noixemul -msmall-code -o ttrender.library header.o lib.o ftbase.o sfnt.o smooth.o raster.o truetype.o ftinit.o ftsystem.o
-
- library: header.o lib.o ftbase.o sfnt.o smooth.o raster.o truetype.o ftinit.o ftsystem.o
- gcc -s -nostartfiles -noixemul -msmall-code -o ttrender.library header.o lib.o ftbase.o sfnt.o smooth.o raster.o truetype.o ftinit.o ftsystem.o
- copy ttrender.library $(DISTRDIR)/Libs
-
- lib.o: lib.c lib.h
- gcc $(CF) $<
-
- header.o: header.s
- gcc $(CF) $<
-
- sfnt.o: sfnt.c
- gcc $(CF) $<
-
- smooth.o: smooth.c
- gcc $(CF) $<
-
- raster.o: raster.c
- gcc $(CF) $<
-
- truetype.o: truetype.c
- gcc $(CF) $<
-
- ftbase.o: ftbase.c
- gcc $(CF) $<
-
- ftinit.o: ftinit.c
- gcc $(CF) $<
-
- ftsystem.o: ftsystem.c
- gcc $(CF) $<
-
-
-
- doc: lib.c
- $(AUTODOC) -C -c -I $< >$(DISTRDIR)/Developer/autodocs/ttrender.doc
-
- sfd: ttrender_lib.sfd
- copy $< $(DISTRDIR)/Developer/sfd/ttrender_lib.sfd
-
- clib: ttrender_lib.sfd
- $(FD2PRAGMA) $< TO $(DISTRDIR)/Developer/include/clib SPECIAL 111
-
- gccinline: ttrender_lib.sfd
- $(FD2PRAGMA) $< TO $(DISTRDIR)/Developer/include/inline SPECIAL 40
-
- proto: ttrender_lib.sfd
- $(FD2PRAGMA) $< TO $(DISTRDIR)/Developer/include/proto SPECIAL 35
-
- libraries: ttrender.h
- copy $< $(DISTRDIR)/Developer/include/libraries/ttrender.h
-
- pragma: ttrender_lib.sfd
- $(FD2PRAGMA) $< TO $(DISTRDIR)/Developer/include/pragma SPECIAL 6
-
- pragmas: ttrender_lib.sfd
- $(FD2PRAGMA) $< TO $(DISTRDIR)/Developer/include/pragmas SPECIAL 6
- rename $(DISTRDIR)/Developer/include/pragmas/ttrender_lib.h $(DISTRDIR)/Developer/include/pragmas/ttrender_pragmas.h
-
- lvo: ttrender_lib.sfd
- $(FD2PRAGMA) $< TO $(DISTRDIR)/Developer/include/lvo SPECIAL 23
-
- vbccinline: ttrender_lib.sfd
- $(FD2PRAGMA) $< TO $(DISTRDIR)/Developer/include/inline SPECIAL 70
-
- examples: test
- copy $< $(DISTRDIR)/examples/test
- copy test.c $(DISTRDIR)/examples/test.c
- copy startup.c $(DISTRDIR)/examples/startup.c
- copy makefile2 $(DISTRDIR)/examples/makefile
-
- test: test.o startup.o
- gcc -o test -nostartfiles -noixemul -msmall-code -fbaserel startup.o test.o
-
- test.o: test.c
- gcc $(CF) $<
-
- startup.o: startup.c
- gcc $(CF) -fwritable-strings $<
-
-
-